-
Notifications
You must be signed in to change notification settings - Fork 1.4k
bootloader: mcuboot: Fixed security counter overflow detected to late #23779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootloader: mcuboot: Fixed security counter overflow detected to late #23779
Conversation
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: dfc409ca5a504e41693a633d2f68bb438cfe2e55 more detailssdk-nrf:
mcuboot:
Github labels
List of changed files detected by CI (8)
Outputs:ToolchainVersion: c5be9c56c7 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
d535766
to
9d82ad7
Compare
You can find the documentation preview for this PR here. |
d55579b
to
af76e9b
Compare
42f2672
to
e1d1e0c
Compare
This commit fixes the issue, occuring when the maximum amount of security counter updates has been reached. This fact was only detected after a permament update already happened - the updated firmware was unable to boot, as it failed when trying to update the security counter after the permament swap. This commit adds the check if the security counter can be updated (i. e. free security counter slots are still available) before the swap is performed, fixing the issue. Signed-off-by: Artur Hadasz <[email protected]>
e1d1e0c
to
dfc409c
Compare
This commit fixes the issue, occuring when the maximum amount of
security counter updates has been reached.
This fact was only detected after a permament update already
happened - the updated firmware was unable to boot, as it
failed when trying to update the security counter after
the permament swap.
This commit adds the check if the security counter can be
updated (i. e. free security counter slots are still available)
before the swap is performed, fixing the issue.